home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / diskutil / ibmdrive.lzh / DSEEK.TXT < prev    next >
Text File  |  1991-11-09  |  3KB  |  68 lines

  1. ********************** UPDATE TO SEEKRATE CHANGES FOR **********************
  2. ********************** USING 5 1/4 " DISK DRIVE       **********************
  3. ****************************************************************************
  4.  
  5.    This is in reference to Dave Small's article on adding a 5 1/4 " IBM PC
  6. compatible disk drive to the 520ST.
  7.  
  8.    When I connected a 40 track double sided 5 1/4 " drive as drive B to my
  9. system I found I could read the directory okay but I could not read any files
  10. that were more than one or two tracks from track 0.  The track step-rate or
  11. 'Seekrate' used for the ATARI drives was to fast for the slower 5 1/4"
  12. PC compatible drives.
  13.  
  14.   The default 'seekrate' used on bootup in the 520ST is 3 ms..  The 5 1/4"
  15. drive I used requires a 6 ms. step-rate. The published memory location for
  16. the default seekrate is $400.  However it does no good to change the value
  17. in this location after power up because it is only used in the boot
  18. process.  All subsequent disk I/O uses a parameter called 'dseekrate' in the 
  19. BIOS listings.  The value for 'dseekrate' is stored in the 'DSB' for the
  20. specific drive.  Part of the initialization process in the boot sequence
  21. is to move the default value in $400 to the 'dseekrate' location in the
  22. 'DSB' for each active drive.
  23.  
  24.   The problem was finding the location of the 'DSB' and the corresponding
  25. byte for the appropriate 'dseekrate'.  Dave Small had a message on this
  26. board last week giving the location of $6CB.  This is location of the
  27. 'dseekrate' for drive A on a system operating with TOS in RAM.  Location 
  28. $6CF is the corresponding location for drive B.  These locations are not
  29. the same if you are fortunate enough to have TOS in EPROMS.
  30.  
  31.   The following are the addresses for the 'dseekrate' parameters that I
  32. have found appropriate for my system using either RAM TOS or ROM TOS.
  33.  
  34.             ORIGINAL TOS on DISK            TOS in EPROM
  35. ----------------------------------------------------------------------------
  36. Drive A            $6CB                         $A09
  37. Drive B            $6CF                         $A0D
  38.  
  39.  
  40.   The default values in these locations will be 03. For 6 ms step-rate the
  41. value should be changed to 00.  The following is a list of all valid
  42. values;
  43.  
  44.     Step-Rate         Value
  45. -------------------------------
  46.       6 ms            $00
  47.      12 ms            $01
  48.       2 ms            $02
  49.       3 ms            $03
  50.  
  51.   After booting the system up with the 5 1/4" drive active,  change the 
  52. 'dseekrate' location appropriate for your configuration using either 'SID'
  53. or a memory editor utility such as is available with the Holms & Duckworth 
  54. ToolBox or the HIPPO Disk Utilities.  You should be able to accomplish
  55. the same thing from BASIC using 'POKE' if you subtract one from the byte
  56. address since BASIC will poke a 'word'.  For example from BASIC use $6CE
  57. for location $6CF.
  58.  
  59.   I have used 6 ms ($00) with my 5 1/4" drive and it works flawlessly.
  60. I format my disks on an IBM compatible system.  All other operations,
  61. reading, writing, copying, deleting, etc., work the same as the 3 1/2" drive.
  62. The real advantage, is being able to load applications such as software for
  63. LOTUS 123 from an IBM compatible disk and run it under VIP.
  64.  
  65.  
  66.            --------- James H. Trageser    San Diego, CA ----------
  67.